package cn.itsource.pethome.pet.mapper;

import cn.itsource.pethome.basic.mapper.BaseMapper;
import cn.itsource.pethome.pet.domain.Pet;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PetMapper extends BaseMapper<Pet> {
    /**
     * 更新状态
     * @param pets
     * @param state
     */
    void updateState(@Param("pets") List<Pet> pets,@Param("state") int state);
}
